package com.traceability.trace.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.traceability.common.annotation.Excel;
import com.traceability.common.core.domain.BaseEntity;

/**
 * 生产地环境监测对象 environmentmonitoring
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class Environmentmonitoring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long monitoringId;

    /** 关联生产基地的标识符 */
    @Excel(name = "关联生产基地的标识符")
    private Long baseId;

    /** 监测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitoringDate;

    /** 温度数据 */
    @Excel(name = "温度数据")
    private String temperature;

    /** 湿度数据 */
    @Excel(name = "湿度数据")
    private String humidity;

    /** 土壤湿度数据 */
    @Excel(name = "土壤湿度数据")
    private String soilMoisture;

    /** 土壤酸碱度数据 */
    @Excel(name = "土壤酸碱度数据")
    private String soilPh;

    public void setMonitoringId(Long monitoringId) 
    {
        this.monitoringId = monitoringId;
    }

    public Long getMonitoringId() 
    {
        return monitoringId;
    }
    public void setBaseId(Long baseId) 
    {
        this.baseId = baseId;
    }

    public Long getBaseId() 
    {
        return baseId;
    }
    public void setMonitoringDate(Date monitoringDate) 
    {
        this.monitoringDate = monitoringDate;
    }

    public Date getMonitoringDate() 
    {
        return monitoringDate;
    }
    public void setTemperature(String temperature)
    {
        this.temperature = temperature;
    }

    public String getTemperature()
    {
        return temperature;
    }
    public void setHumidity(String humidity)
    {
        this.humidity = humidity;
    }

    public String getHumidity()
    {
        return humidity;
    }
    public void setSoilMoisture(String soilMoisture)
    {
        this.soilMoisture = soilMoisture;
    }

    public String getSoilMoisture()
    {
        return soilMoisture;
    }
    public void setSoilPh(String soilPh)
    {
        this.soilPh = soilPh;
    }

    public String getSoilPh()
    {
        return soilPh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("monitoringId", getMonitoringId())
            .append("baseId", getBaseId())
            .append("monitoringDate", getMonitoringDate())
            .append("temperature", getTemperature())
            .append("humidity", getHumidity())
            .append("soilMoisture", getSoilMoisture())
            .append("soilPh", getSoilPh())
            .toString();
    }
}
